/* 页面标题 */
.page-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

/* 残疾类型选择 */
.disability-types {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.type-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.type-item span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.type-item.active {
    background: var(--accent-color);
}

.type-item.active i,
.type-item.active span {
    color: white;
}

/* 视频播放区域 */
.video-container {
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.video-desc {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 视频列表 */
.video-list {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.list-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.video-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.video-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.1);
}

.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-info {
    padding: 1rem;
}

.video-info h4 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .disability-types {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .type-item {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 100px;
    }

    .video-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .type-item {
        flex: 1 1 calc(50% - 1rem);
    }
} 